package com.group3.dao;


import com.group3.domain.AttendanceResult;
import com.group3.domain.AttendanceResultExample;
import com.group3.pojo.result.AttendanceInfoResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AttendanceResultMapper {
    long countByExample(AttendanceResultExample example);

    int deleteByExample(AttendanceResultExample example);

    int insert(AttendanceResult record);

    int insertSelective(AttendanceResult record);

    List<AttendanceResult> selectByExample(AttendanceResultExample example);

    int updateByExampleSelective(@Param("record") AttendanceResult record, @Param("example") AttendanceResultExample example);

    int updateByExample(@Param("record") AttendanceResult record, @Param("example") AttendanceResultExample example);


    //自定义查询
    List<AttendanceInfoResult> selectAttendanceInfo(AttendanceResultExample example);
}